#ifndef APIKEYSDIALOG_H
#define APIKEYSDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QSettings>

class ApiKeysDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ApiKeysDialog(QWidget *parent = nullptr);
    ~ApiKeysDialog();

private slots:
    void saveApiKey();

private:
    QLineEdit *apiKeyInput;
    QLineEdit *apiEndpointInput;
    QPushButton *saveButton;
    QPushButton *cancelButton;

    void loadSettings();
};

#endif // APIKEYSDIALOG_H